import java.util.List;

// 显示玩家信息类
class PlayerInfoDisplay {
    public static void displayAllPlayersInfo() {
        // 导入所有玩家信息
        List<Player> players = PlayerImporter.importAllPlayersFromDatabase();

        // 打印所有玩家信息
        System.out.println("所有玩家信息：");
        for (Player player : players) {
            System.out.println("昵称：" + player.getName());
            System.out.println("UID：" + player.getUid());
            System.out.println("金钱：" + player.getMoney());
            System.out.println("----------------------");
        }
    }
}
